package com.ctrip.ec.biz.entity.user;
import com.ctrip.ec.dal.DbColumn;
import com.ctrip.ec.dal.DbTable;
import com.ctrip.ec.dal.EntityBase;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.sql.Timestamp;
@DbTable("s_user")
public class UserEntity extends EntityBase {
    @DbColumn("id")
    private Long id;
    @DbColumn("login_name")
    private String loginName;
    @DbColumn("name")
    private String name;
    @DbColumn("email")
    private String email;
    @DbColumn("password")
    private String password;
    @DbColumn("last_ip")
    private String lastIp;
    @DbColumn("state")
    private Integer state;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",locale = "zh" ,timezone="GMT+8")
    @DbColumn("create_time")
    private Timestamp createTime;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",locale = "zh" ,timezone="GMT+8")
    @DbColumn("last_login")
    private Timestamp lastLogin;
    public  Long getId(){
        return this.id;
    }
    public void setId(Long id){
        this.id = id;
    }
    public  String getLoginName(){
        return this.loginName;
    }
    public void setLoginName(String loginName){
        this.loginName = loginName;
    }
    public  String getName(){
        return this.name;
    }
    public void setName(String name){
        this.name = name;
    }
    public  String getEmail(){
        return this.email;
    }
    public void setEmail(String email){
        this.email = email;
    }
    public  String getPassword(){
        return this.password;
    }
    public void setPassword(String password){
        this.password = password;
    }
    public  String getLastIp(){
        return this.lastIp;
    }
    public void setLastIp(String lastIp){
        this.lastIp = lastIp;
    }
    public  Integer getState(){
        return this.state;
    }
    public void setState(Integer state){
        this.state = state;
    }
    public  Timestamp getCreateTime(){
        return this.createTime;
    }
    public void setCreateTime(Timestamp createTime){
        this.createTime = createTime;
    }
    public  Timestamp getLastLogin(){
        return this.lastLogin;
    }
    public void setLastLogin(Timestamp lastLogin){
        this.lastLogin = lastLogin;
    }
}